package com.mi.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mi.dao.OrderDao;
import com.mi.entity.Order;
import com.mi.service.OrderService;
@Service
public class OrderServiceImp implements OrderService{
@Resource
	private OrderDao orderDao;
	
	
	public void setOrderDao(OrderDao orderDao) {
		this.orderDao = orderDao;
	}


	@Override
	public List<Order> findAll(String pageNumber,String pageSize) {
		
		return orderDao.findAll(pageNumber,pageSize);
	}


	@Override
	public List<Order> findAllByPage(String pageNumber, String pageSize) {
		// TODO Auto-generated method stub
		return orderDao.findAllByPage(pageNumber, pageSize);
	}


	@Override
	public String zongJia(String uid) {
	 
		return orderDao.zongJia(uid);
	}

}
